<HTML
><HEAD
><TITLE
>GrNewInputWindow()</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.61
"><LINK
REL="HOME"
TITLE="Nano-X Library API"
HREF="index.html"><LINK
REL="UP"
TITLE="Nano-X Function Reference"
HREF="ch2.html"><LINK
REL="PREVIOUS"
TITLE="GrNewGC()"
HREF="nxapi_GrNewGC.html"><LINK
REL="NEXT"
TITLE="GrNewPixmap()"
HREF="nxapi_GrNewPixmap.html"></HEAD
><BODY
CLASS="REFENTRY"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Nano-X Library API</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="nxapi_GrNewGC.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="nxapi_GrNewPixmap.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="NXAPI.GRNEWINPUTWINDOW"
><TT
CLASS="FUNCTION"
>GrNewInputWindow()</TT
></A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN4690"
></A
><H2
>Name</H2
><TT
CLASS="FUNCTION"
>GrNewInputWindow()</TT
>&nbsp;--&nbsp;Create a new input window</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN4694"
></A
><H2
>Synopsis</H2
><DIV
CLASS="FUNCSYNOPSIS"
><A
NAME="AEN4695"
></A
><P
></P
><P
><CODE
><CODE
CLASS="FUNCDEF"
>  GR_WINDOW_ID       <B
CLASS="FSFUNC"
>  GrNewInputWindow      </B
></CODE
>( GR_WINDOW_ID       <VAR
CLASS="PDPARAM"
> parent                </VAR
>,  GR_COORD           <VAR
CLASS="PDPARAM"
> x                     </VAR
>,  GR_COORD           <VAR
CLASS="PDPARAM"
> y                     </VAR
>,  GR_COORD           <VAR
CLASS="PDPARAM"
> width                 </VAR
>,  GR_COORD           <VAR
CLASS="PDPARAM"
> height                </VAR
>);</CODE
></P
><P
></P
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN4709"
></A
><H2
>Description</H2
><P
>    This function creates a new <I
CLASS="EMPHASIS"
>input-only</I
>
    window of <TT
CLASS="PARAMETER"
><I
>width</I
></TT
> by
    <TT
CLASS="PARAMETER"
><I
>height</I
></TT
> pixels at coordinates
    (<TT
CLASS="PARAMETER"
><I
>x</I
></TT
>,<TT
CLASS="PARAMETER"
><I
>y</I
></TT
>) with respect
    to the parent window, <TT
CLASS="PARAMETER"
><I
>parent</I
></TT
>.
    </P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN4718"
></A
><H2
>Parameters</H2
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN4720"
></A
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><THEAD
><TR
><TH
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>Type</TH
><TH
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>Name</TH
><TH
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>Description</TH
></TR
></THEAD
><TBODY
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_WINDOW_ID.html"
><SPAN
CLASS="TYPE"
>GR_WINDOW_ID</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>parent</I
></TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The parent of window of the window that will be created.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_COORD.html"
><SPAN
CLASS="TYPE"
>GR_COORD</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>x</I
></TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The X position of the new window with respect to its
        parent window. </TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_COORD.html"
><SPAN
CLASS="TYPE"
>GR_COORD</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>y</I
></TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The Y position of the new window with respect to its
        parent window. </TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_COORD.html"
><SPAN
CLASS="TYPE"
>GR_COORD</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>width</I
></TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The width (in pixels) of the new window.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_COORD.html"
><SPAN
CLASS="TYPE"
>GR_COORD</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>height</I
></TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The hieght (in pixels) of the new window.</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN4766"
></A
><H2
>Returns</H2
><P
>      The ID of the newly created window.
    </P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN4769"
></A
><H2
>See Also</H2
><P
>      <A
HREF="nxapi_GrDestroyWindow.html"
>            <TT
CLASS="FUNCTION"
>GrDestroyWindow()</TT
></A
>, 
      <A
HREF="nxapi_GrNewWindow.html"
>            <TT
CLASS="FUNCTION"
>GrNewWindow()</TT
></A
>, 
      <A
HREF="nxapi_GrNewWindowEx.html"
> 
            <TT
CLASS="FUNCTION"
>GrNewWindowEx()</TT
></A
>.
    </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="nxapi_GrNewGC.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="nxapi_GrNewPixmap.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><TT
CLASS="FUNCTION"
>GrNewGC()</TT
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ch2.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><TT
CLASS="FUNCTION"
>GrNewPixmap()</TT
></TD
></TR
></TABLE
></DIV
></BODY
></HTML
>